<script>
export default {
  name: "fixed-footer"
}
</script>

<template>
  <view class="fixed-footer">
    <view class="fixed-footer__content">
      <slot></slot>
    </view>
  </view>
</template>

<style scoped lang="scss">
.fixed-footer {
  position: fixed;
  box-sizing: border-box;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 15px 0;
  &__content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
  }
}
</style>
